package net.lesscoding.shop.boot.feign.other;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author eleven
 * @date 2024/6/5 14:36
 * @apiNote
 */
@FeignClient(value = "feign-provider")
public interface FeignRemoterService {
    @PostMapping("/user/{name}")
    public String username(@PathVariable String name);
}
